import request from "@/utils/request";

export function getList(startTime, endTime) {
  return request({
    url:
      "/heartBeatStatistics/getDeviceTimeDelayStatisticsList/" +
      startTime +
      "/" +
      endTime,
    method: "get",
  });
}

export function getDetailList(startTime, endTime, codes) {
  return request({
    url:
      "/heartBeatStatistics/getTimeDelayDetailList/" +
      startTime +
      "/" +
      endTime +
      "/" +
      codes,
    method: "get",
  });
}
